<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>个人信息</title>
    <link rel="stylesheet" href="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/css/bootstrap.min.css">
</head>
<style>
    /* ??? */
    @import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500&display=swap');

    /* reset styles */
    html, body, header,  section,  div, table, tbody, tr, td {
        margin: 0;
        padding: 0;
        border: 0;
        font-size: 100%;
        font-family: 'Noto Sans SC', sans-serif;
        vertical-align: baseline;
    }

    body{
        background-color: #f7f7f7;
    }


    /* section styles */
    section {
        height: 50vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background-color: #f7f7f7;
    }


    .tit_wrap {
        text-align: center;
        margin-top: 10px;
        margin-bottom: 50px;
    }

    .tit_wrap h1 {
        font-size: 48px;
        color: #333;
        margin-top: 80px;
    }

    .scissors {
        width: 80px;
        height: 2px;
        background-color: #FFA500;
        margin: 20px auto 40px;
    }

    .myinfo {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        background-color: #fff;
        padding: 50px;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
        /*padding: 100px;*/
        /*box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);*/
        border-radius: 30px;
    }

    table {
        width: 100%;
        border-collapse: collapse;
    }

    td {
        padding: 10px;
        font-size: 18px;
        color: #333;
        border-bottom: 1px solid #ccc;
    }

    td:first-child {
        width: 120px;
    }

    td:nth-child(even) {
        text-align: center;
    }

    td:last-child {
        border: none;
    }

    table img {
        width: 200px;
        height: 200px;
        border-radius: 50%;
        object-fit: cover;
        margin-right: 30px;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
        border: 2px solid #fff;
    }

    /*ul {*/
    /*    list-style: none;*/
    /*    font-size: 18px;*/
    /*    color: #333;*/
    /*    line-height: 2;*/
    /*    text-align: center;*/
    /*}*/

    /*footer {*/
    /*    height: 50px;*/
    /*    display: flex;*/
    /*    justify-content: center;*/
    /*    align-items: center;*/
    /*    background-color: #fff;*/
    /*    color: #999;*/
    /*    font-size: 16px;*/
    /*    margin-top: 60px;*/
    /*    border-top: 1px solid #ccc;*/
    /*}*/
</style>
<body>
<div th:include="headbar::customer_headbar" style="margin-bottom:70px"></div>
<section >
    <div class="con_wrap">

        <div class="tit_wrap">
            <h1 style="font-weight: bold;">个人信息</h1>
            <div class="scissors"></div>
        </div>
        <div class="myinfo">
            <table>
                <tbody>
                <tr>
<!--                    <td rowspan="6">-->
<!--                        <img src="https://picsum.photos/id/237/200">-->
<!--                    </td>-->
                    <td >姓名</td>
                    <td th:text="${user.getName()}"></td>
                </tr>
                <tr>
                    <td>手机</td>
                    <td th:text="${user.getPhone()}"></td>
                <tr>
                    <td>会员级别</td>
                    <td th:text="${user.getVipLevel()}"></td>
                </tr>
                <tr>
                    <td>折扣力度</td>
                    <td th:text="${user.getDiscountRate()}"></td>
                </tr>
                <tr>
                    <td>账号余额</td>
                    <td th:text="${user.getBalance()}"></td>
                </tr>
                </tbody>
            </table>
        </div>
    </div>
</section>
</body>
</html>
